package cn.edu.nuc.ssm.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import cn.edu.nuc.ssm.entity.Gcar;

public interface GcarMapper {
    int deleteByPrimaryKey(Integer cid);
    
    int deleteByUidAndGid(@Param("uid")Integer uid,@Param("gid")Integer gid);
    
    int insert(Gcar record);

    int insertSelective(Gcar record);

    Gcar selectByPrimaryKey(Integer cid);
    
    Gcar selectBy(@Param("uid")Integer uid,@Param("gid")Integer gid);
    
    
    List<Gcar> selectListByUid(Integer uid);
    
    int updateByPrimaryKeySelective(Gcar record);

    int updateByPrimaryKey(Gcar record);
    
}